home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16294 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  52 lines

  1. Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  2. Path: ntcs-ip4.uchicago.edu!user
  3. From: j-jahnke@uchicago.edu (Jerome Jahnke)
  4. Subject: Re: Young programmers read me.
  5. X-Nntp-Posting-Host: ntcs-ip4.uchicago.edu
  6. Message-ID: <j-jahnke-1004960349390001@ntcs-ip4.uchicago.edu>
  7. Sender: news@midway.uchicago.edu (News Administrator)
  8. Organization: BSD Academic Computing
  9. X-Newsreader: Yet Another NewsWatcher 2.2.0b4
  10. References: <4icpp9$7hr@barad-dur.nas.com> <aidan-0404961557290001@meathook.intac.com> <3165AD94.6F3A@datalytics.com> <j-jahnke-0604960016160001@ntcs-ip8.uchicago.edu> <4keejc$lpi@tpd.dsccc.com>
  11. Date: Wed, 10 Apr 1996 08:49:39 GMT
  12.  
  13. In article <4keejc$lpi@tpd.dsccc.com>, kcline@sun132.spd.dsccc.com (Kevin
  14. Cline) wrote:
  15.  
  16. > In article <j-jahnke-0604960016160001@ntcs-ip8.uchicago.edu>,
  17. > Jerome Jahnke <j-jahnke@uchicago.edu> wrote:
  18. > >I personally
  19. > >can't read some styles on C and C++[;] the guys that put the starting brace
  20. > >on the same line as a conditional or a loop drive me batty and I need to
  21. > >use CDent to change the code just so I can read it. 
  22. > This should not be a problem if the code is properly indented, ala
  23. > if (something_happened) {
  24. >   do_something_else();
  25. > }
  26.  
  27. I have been making a living programming for over 10 years now, over 7 of
  28. them has been in C and C++, and I STILL can't catch it. I need the
  29. whitespace. We don't have 24x80 char terminals anymore, we can add a
  30. little whitespace in our code.
  31.  
  32. > There is something to be said for conserving screen real-estate.
  33. > I have worked on hard-copy terminals, then on 24x80 screens, then
  34. > on workstations.  Workstations are better because I can see more code
  35. > at one time, unless someone wastes all the lines with whitespace and
  36. > braces.
  37.  
  38. This of course is the beauty of a CDent, when you get my code you can run
  39. it through in a way that is easy for you to read and when I get your code
  40. I can do the same. I could not get anything done if I had to suffer
  41. through the K&R Style. It just doesn't work for me.
  42.  
  43. Jer,
  44.  
  45. -- 
  46. Jerome Jahnke
  47. BSD Academic Computing
  48. University of Chicago
  49. j-jahnke@uchicago.edu
  50.